<html>
<script>

     function logCookie(){
        var cookies = window.document.cookies;
        window.storage;
        console.log(window);
        console.log(cookies);
     }
    
</script>

<title>debug window and cookie</title>

<button onclick="logCookie">debug</button>
</html>